#!/bin/bash

for file in `ls` 
do
	if [[ $file =~ \.bag$ ]];then 
		rosbag reindex $file
	fi
done
